package com.aaa.whj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: whj
 * @Version 1.0
 * @Date: 2022/11/23  19:37
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("登录用户")

@TableName(value = "t_user")
public class User {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "编号")
    private Integer id;
    @ApiModelProperty(value = "账号")
    private String username;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "权限")
    private String realname;
}
